<script>
    $(".form_validate").validate();
</script>
<?php echo $this->Session->flash(); ?>
<div id="loading" style="display: none;">
    <?php echo $html->image('loading.gif', array('border' => "0", 'align' => 'center')); ?>
</div>
<h2>Observación</h2>
<?php
echo $form->create("TopographicMapReview", array('class' => 'form_validate', 'enctype' => 'multipart/form-data', 'type' => 'file', "action" => "edit/" . $this->data['TopographicMapReview']['id'], 'update' => 'content', 'indicator' => 'loading'));
?>
<?php echo $form->input('TopographicMapReview.fecha', array('label' => 'Fecha', 'type' => 'text', 'class' => 'calendario')); ?>
<?php echo $form->input("TopographicMapReview.observacion", array('label' => 'Comentario', 'class' => 'txtarea')); ?>
<?php echo $form->hidden("TopographicMapReview.topographic_map_id", array('value' => $this->data['TopographicMapReview']['topographic_map_id'])); ?>
<?php echo $form->file('TopographicMapReview.archivo', array('label' => 'Archivo adjunto', 'accept' => 'pdf')); ?>
<?php echo $form->hidden("TopographicMapReview.id"); ?>
<?php
echo $form->end(array('label' => 'Guardar', 'class' => 'submit_button'))
?>
<br>
<br>
<?php
echo $ajax->link($html->image('regresar.gif', array('width' => '30', 'heigth' => '30', 'alt' => 'Regresar', 'title' => 'regresar')), array('controller' => 'TopographicMapReviews', 'action' => 'index', $this->data['TopographicMapReview']['topographic_map_id']), array('update' => 'content', 'complete' => 'cargar()', 'indicator' => 'loading', 'escape' => false));
?>